home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _540DD4CE45604410912F6C7C98A13FD6 < prev    next >
Encoding:
Text File  |  2006-08-04  |  837 b   |  29 lines

  1.  
  2. from PSPApp import *
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': u'Corel Corporation',
  7.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  8.         'Description': 'Factory default preset for ColorAdjustLevels effect',
  9.         'Host': 'Paint Shop Pro 8',
  10.         'Host Version': '8.00',
  11.         }
  12.  
  13. def Preset_ColorAdjustLevels():
  14.     return {
  15.         'GeneralSettings': {
  16.             'AutoActionMode': 0,
  17.             'ExecutionMode': 0
  18.             },
  19.         'Levels': {
  20.             'Blue': (0, 255, 1.0, 0, 255),
  21.             'RGB': (0, 255, 1.0, 0, 255),
  22.             'Green': (0, 255, 1.0, 0, 255),
  23.             'Red': (0, 255, 1.0, 0, 255)
  24.             }
  25.         }
  26.  
  27. def Do(Environment):
  28.     App.Do( Environment, 'ColorAdjustLevels', Preset_ColorAdjustLevels())
  29.